package com.hzb.shop.autocode.sql;

public class CommonUtils {

	public static String JdbcToJavaType(String type){
		if("INTEGER".equalsIgnoreCase(type)){
			return "Integer";
		}
		if("INT".equalsIgnoreCase(type)){
			return "Integer";
		}
		if("VARCHAR".equalsIgnoreCase(type)){
			return "String";
		}
		if("TINYINT".equalsIgnoreCase(type)){
			return "Integer";
		}
		if("DATETIME".equalsIgnoreCase(type)){
			return "Date";
		}
		return null;
	}
}
